package cn.itsource.pethome.base.query;

import lombok.Data;

/**
 * @Author:R
 * @Date:2023/1/2 18:51
 * Description
 */
@Data
public class BaseQuery {
    private Integer currentPage = 1;
    private Integer pageSize = 10;
    private String keyword;
    //分页
    public Integer getStart(){
        return (this.currentPage-1) * this.pageSize;
    }
}
